package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexGuessMapper;
import com.gu.mobileweb.model.IndexGuess;
import com.gu.mobileweb.service.IndexGuessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexGuessServiceImpl implements IndexGuessService {
    @Autowired
    private IndexGuessMapper indexGuessMapper;
    @Override
    public List<IndexGuess> getAllIndexGuess() {
        return indexGuessMapper.getAllIndexGuess();
    }

    @Override
    public List<IndexGuess> getOne() {
        return indexGuessMapper.getOne();
    }

    @Override
    public List<IndexGuess> getListOne(String guessName) {
        return indexGuessMapper.getListOne(guessName);
    }


}
